Using the streambuf Layer

Contents|Index|Previous|Next
Using the streambuf layer

The istream and ostream classes are meant to handle conversion between objects in your program and their textual representation.

By contrast, the underlying streambuf class is for transferring raw bytes between your program, and input sources or output sinks. Different streambuf subclasses connect to different kinds of sources and sinks.

For more information, see the following documentation’s discussions.

- Areas of a streambuf
- Simple output re-direction by redefining overflow
- C-style formatting for streambuf objects
- Wrappers for C stdio
- Reading/writing from/to a pipe
- Backing up
- Forwarding I/O activity

Top|Contents|Index|Previous|Next